<template>
  <div class="home">
      <header>
          <div class="header_let">
              <h3>宏烨经纪人</h3>
               <van-icon name="ellipsis" />
          </div>
        <div>
            <img src="../assets/logo.png" alt="">
        </div>
      </header>
  </div>
</template>

<script>
import { onMounted } from "@vue/runtime-core"
import { apiGetSwiperList } from "../api/home"
export default {
    name:"Home",
    setup(){
        onMounted(async()=>{
            const res =await apiGetSwiperList()
            console.log(res)
        })
    }
}
</script>

<style>
.home{
    width: 100%;
    height: 100%;
}
/* header{
    width: 100%;
    display: flex;
    flex-direction: column;
} */
.header_let{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    align-items: center;
}
</style>
